package com.ytjj.qmyx.data.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "${application.name.admin:ygyx-admin}")
public interface AdminClient {

    /**
     * 删除商品缓存
     * @param key
     * @return
     */
    @GetMapping(value = "/redisInfoController/deleteProductRedis")
    void deleteProductRedis(@RequestParam String key);



}
